package com.sunxd.vue.domain.repository;

import com.sunxd.vue.domain.bean.domain.User;
import com.sunxd.vue.infrastructure.adapter.db.base.Paging;
import com.sunxd.vue.infrastructure.adapter.db.po.UserPO;

import java.util.Map;

public interface UserRepository {

    boolean save(User param);
    boolean update(User param);

    Paging<User> paging(Map<String ,Object> param);

    User findByName(String name);

    User findOne(User user);

}
